import { Session } from '/@/utils/storage';

const TokenKey = 'Admin-Token'

export function getToken() {
  return Session.get(TokenKey)
}

export function setToken(token: string | object) {
  return Session.set(TokenKey, token)
}

export function removeToken() {
  return Session.remove(TokenKey)
}
